﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Roslyn.Compilers;
using Roslyn.Compilers.CSharp;
namespace SymbolicComputation.AI
{
    public class HistoricalMoment
    {
        public Transform transform;
        public Int32 branchIndex;

        public HistoricalMoment(Transform inTransform, Int32 inBranchIndex)
        {
            transform = inTransform;
            branchIndex = inBranchIndex;
        }

        public static void AssociationRules(List<SymJob> jobStates)
        {
            
        }

        
        public class TableEntry
        {
            public String transform;
            public enumSideOfOperator sideOfEqualSign;
            public enumSideOfOperator sideOfParentOperator;
            public Double changeInAssessment;

            public TableEntry(SymJob inJob)
            {
                transform = inJob.JobState.ToString();
                sideOfEqualSign = Miscellaneous.SideOfEqualSign(inJob.JobState);
                sideOfParentOperator = Miscellaneous.SideOfOperator(inJob.JobState);
                changeInAssessment = inJob.assessment - inJob.parent.assessment;
            }
        }
    }
}
